#coding=utf-8
__author__ = 'Meteor'

import pymysql

conn = pymysql.connect(host='127.0.0.1',user='root',password='1234',db='scm')
course = conn.cursor()
# course.execute('select * from scmuser;')
course.execute("insert into scmuser values('meteor21','123','meteor21','2019-12-30 11:58:35',0);")
course.execute('commit;')
print(course.fetchone())
course.close()
conn.close()